###########################################################################
# Natasha Wunsch, Marc S. Jacob, and Laurenz Derksen
# The Demand Side of Democratic Backsliding: How Divergent Understandings
# of Democracy Shape Political Choice
# British Journal of Political Science
# README 
###########################################################################

TABLE OF CONTENTS

META CODE

"00_master.R": master code to reproduce all results

CODE

"01_setup.R": code to install and load packages
"02_recoding.R": code to recode raw data for main analysis
"03_IMCEs.R": code to compute IMCEs
"04_manuscript.R": code to reproduce all results reported in the main text
"05_appendix_A.R"
"06_appendix_B.R"
"07_appendix_C.R"
"08_appendix_D.R"
"09_appendix_E.R"
"10_appendix_F.R"

PROJECT ENVIRONMENT

"2024_uod_bjps.Rproj"
"Codebook.pdf"
"figure_design.R"
"lmroman10-regular-webfont.ttf"
"README.txt"
"cregg_0.4.0.tar": used package version of Cregg package (removed from the CRAN repository)

DATA

"cjoint_data.rds": original conjoint data
"survey_data_subset.rds": original survey covariates
"hungary_choices.rds" | Citation: Wunsch, Natasha; Gessler, Theresa (2023): Who tolerates democratic backsliding? A mosaic approach to voters’ responses to authoritarian leadership in Hungary. In Democratization 30 (5), pp. 914–937. DOI: 10.1080/13510347.2023.2203918.
"hungary_survey.rds" | Citation: Wunsch, Natasha; Gessler, Theresa (2023): Who tolerates democratic backsliding? A mosaic approach to voters’ responses to authoritarian leadership in Hungary. In Democratization 30 (5), pp. 914–937. DOI: 10.1080/13510347.2023.2203918.
"polpan_subset.rds" | Citation: Słomczyński, Kazimierz M.; Tomescu-Dubrow, Irina; Institute of Philosophy and Sociology, Polish Academy of Sciences: Polish Panel Survey POLPAN. With assistance of Michal Kotnarowski. Available online at https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/DAPH0P.

SURVEY LABELS

"uod_rename.xlsx": list with labels for understandings of democracy (original survey)
"likert_rename.xlsx": list with labels for Likert scales
"hungary_labels.xlsx" | Citation: Wunsch, Natasha; Gessler, Theresa (2023): Who tolerates democratic backsliding? A mosaic approach to voters’ responses to authoritarian leadership in Hungary. In Democratization 30 (5), pp. 914–937. DOI: 10.1080/13510347.2023.2203918.

SEED

For random estimation (e.g., bootstrap), we use seed 211 throughout.

SESSION INFO

R version 4.4.1 (2024-06-14 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 22631)

Matrix products: default


locale:
[1] LC_COLLATE=English_United States.utf8  LC_CTYPE=English_United States.utf8   
[3] LC_MONETARY=English_United States.utf8 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.utf8    

time zone: America/New_York
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] psych_2.4.6.26  car_3.1-2       carData_3.0-5   ggExtra_0.10.1  foreign_0.8-86  cjbart_0.3.2   
 [7] BART_2.9.9      survival_3.6-4  nlme_3.1-164    cregg_0.4.0     xtable_1.8-4    texreg_1.39.4  
[13] estimatr_1.0.4  mice_3.16.0     scales_1.3.0    lavaan_0.6-18   ltm_1.2-0       polycor_0.8-1  
[19] msm_1.7.1       MASS_7.3-60.2   readxl_1.4.3    showtext_0.9-7  showtextdb_3.0  sysfonts_0.8.9 
[25] lubridate_1.9.3 forcats_1.0.0   stringr_1.5.1   dplyr_1.1.4     purrr_1.0.2     readr_2.1.5    
[31] tidyr_1.3.1     tibble_3.2.1    ggplot2_3.5.1   tidyverse_2.0.0